package cn.yiyuan.service.impl;

import cn.yiyuan.base.service.Imp.BaseServiceimpl;
import cn.yiyuan.domain.Permission;
import cn.yiyuan.mapper.PermissionMapper;
import cn.yiyuan.service.IPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ym-c
 * @since 2023-10-17
 */
@Service
        public class PermissionServiceImpl extends BaseServiceimpl<Permission> implements IPermissionService {

        @Autowired
        private PermissionMapper mapper;
        @Override
        public void deleteAll() {

        }

        @Override
        public List<Permission> getAll() {
                return mapper.getAll();
        }

//        @Override
//        public List<Permission> queryAll() {
//                return null;
//        }
}
